
<!DOCTYPE HTML>
<html lang="" >
    <head>
        <meta charset="UTF-8">
        <meta content="text/html; charset=utf-8" http-equiv="Content-Type">
        <title>0. 介绍 · GitBook</title>
        <meta http-equiv="X-UA-Compatible" content="IE=edge" />
        <meta name="description" content="">
        <meta name="generator" content="GitBook 3.2.2">
        
        
        
    
    <link rel="stylesheet" href="gitbook/style.css">

    
            
                
                <link rel="stylesheet" href="gitbook/gitbook-plugin-highlight/website.css">
                
            
                
                <link rel="stylesheet" href="gitbook/gitbook-plugin-search/search.css">
                
            
                
                <link rel="stylesheet" href="gitbook/gitbook-plugin-fontsettings/website.css">
                
            
        

    

    
        
    
        
    
        
    
        
    
        
    
        
    

        
    
    
    <meta name="HandheldFriendly" content="true"/>
    <meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=no">
    <meta name="apple-mobile-web-app-capable" content="yes">
    <meta name="apple-mobile-web-app-status-bar-style" content="black">
    <link rel="apple-touch-icon-precomposed" sizes="152x152" href="gitbook/images/apple-touch-icon-precomposed-152.png">
    <link rel="shortcut icon" href="gitbook/images/favicon.ico" type="image/x-icon">

    
    <link rel="next" href="chapters/1.html" />
    
    

    </head>
    <body>
        
<div class="book">
    <div class="book-summary">
        
            
<div id="book-search-input" role="search">
    <input type="text" placeholder="Type to search" />
</div>

            
                <nav role="navigation">
                


<ul class="summary">
    
    

    

    
        
        <li class="header">内容</li>
        
        
    
        <li class="chapter active" data-level="1.1" data-path="./">
            
                <a href="./">
            
                    
                    0. 介绍
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.2" data-path="chapters/1.html">
            
                <a href="chapters/1.html">
            
                    
                    1. php 开发环境安装
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.3" data-path="chapters/2.html">
            
                <a href="chapters/2.html">
            
                    
                    2. 跑 laravel 的 hello world
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.4" data-path="chapters/3.html">
            
                <a href="chapters/3.html">
            
                    
                    3. 第一个路由 UsersController
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.5" data-path="chapters/4.html">
            
                <a href="chapters/4.html">
            
                    
                    4. 在数据库中创建一条数据
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.6" data-path="chapters/5.html">
            
                <a href="chapters/5.html">
            
                    
                    5. 简单的用户认证
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.7" data-path="chapters/6.html">
            
                <a href="chapters/6.html">
            
                    
                    6. 修改 User model
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.8" data-path="chapters/7.html">
            
                <a href="chapters/7.html">
            
                    
                    7. User model 的 getter 方法
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.9" data-path="chapters/8.html">
            
                <a href="chapters/8.html">
            
                    
                    8. view 的更多知识
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.10" data-path="chapters/9.html">
            
                <a href="chapters/9.html">
            
                    
                    9. 在 view 中共享变量
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.11" data-path="chapters/10.html">
            
                <a href="chapters/10.html">
            
                    
                    10. blade layout
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.12" data-path="chapters/11.html">
            
                <a href="chapters/11.html">
            
                    
                    11. 使用 @include 来整理 view
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.13" data-path="chapters/12.html">
            
                <a href="chapters/12.html">
            
                    
                    12. Blade if/else/unless/or
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.14" data-path="chapters/13.html">
            
                <a href="chapters/13.html">
            
                    
                    13. factories, faker and seeding
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.15" data-path="chapters/14.html">
            
                <a href="chapters/14.html">
            
                    
                    14. Blade foreach
            
                </a>
            

            
        </li>
    

    
        
        <li class="header">其他</li>
        
        
    
        <li class="chapter " data-level="2.1" data-path="chapters/laravel_vim.html">
            
                <a href="chapters/laravel_vim.html">
            
                    
                    VIM 的 laravel 插件
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="2.2" data-path="chapters/laravel_code_vim.html">
            
                <a href="chapters/laravel_code_vim.html">
            
                    
                    VIM 中有效地查看 php 源码
            
                </a>
            

            
        </li>
    

    

    <li class="divider"></li>

    <li>
        <a href="https://www.gitbook.com" target="blank" class="gitbook-link">
            Published with GitBook
        </a>
    </li>
</ul>


                </nav>
            
        
    </div>

    <div class="book-body">
        
            <div class="body-inner">
                
                    

<div class="book-header" role="navigation">
    

    <!-- Title -->
    <h1>
        <i class="fa fa-circle-o-notch fa-spin"></i>
        <a href="." >0. 介绍</a>
    </h1>
</div>




                    <div class="page-wrapper" tabindex="-1" role="main">
                        <div class="page-inner">
                            
<div id="book-search-results">
    <div class="search-noresults">
    
                                <section class="normal markdown-section">
                                
                                <h1 id="&#x4ECB;&#x7ECD;">&#x4ECB;&#x7ECD;</h1>
<p>&#x672C;&#x6559;&#x7A0B;&#x662F;&#x4ECE;ruby&#x7684;&#x89C6;&#x811A;&#x6765;&#x5B66;&#x4E60;laravel&#x8FD9;&#x4E2A;&#x795E;&#x5947;&#x7684;php&#x6846;&#x67B6;&#xFF0C;&#x9002;&#x7528;&#x4E8E;ruby&#x7A0B;&#x5E8F;&#x5458;&#x548C;php&#x7A0B;&#x5E8F;&#x5458;&#x6D4F;&#x89C8;&#x3002;</p>
<p>&#x539F;&#x6587;&#x53D1;&#x5E03;&#x4E8E;&#x6211;&#x7684;&#x4E2A;&#x4EBA;&#x535A;&#x5BA2;&#xFF1A;<a href="https://www.rails365.net" target="_blank">https://www.rails365.net</a></p>
<p>email: hfpp2012@gmail.com</p>
<p>qq: 903279182</p>

                                
                                </section>
                            
    </div>
    <div class="search-results">
        <div class="has-results">
            
            <h1 class="search-results-title"><span class='search-results-count'></span> results matching "<span class='search-query'></span>"</h1>
            <ul class="search-results-list"></ul>
            
        </div>
        <div class="no-results">
            
            <h1 class="search-results-title">No results matching "<span class='search-query'></span>"</h1>
            
        </div>
    </div>
</div>

                        </div>
                    </div>
                
            </div>

            
                
                
                <a href="chapters/1.html" class="navigation navigation-next navigation-unique" aria-label="Next page: 1. php 开发环境安装">
                    <i class="fa fa-angle-right"></i>
                </a>
                
            
        
    </div>

    <script>
        var gitbook = gitbook || [];
        gitbook.push(function() {
            gitbook.page.hasChanged({"page":{"title":"0. 介绍","level":"1.1","depth":1,"next":{"title":"1. php 开发环境安装","level":"1.2","depth":1,"path":"chapters/1.md","ref":"chapters/1.md","articles":[]},"dir":"ltr"},"config":{"gitbook":"*","theme":"default","variables":{},"plugins":["livereload"],"pluginsConfig":{"livereload":{},"highlight":{},"search":{},"lunr":{"maxIndexSize":1000000,"ignoreSpecialCharacters":false},"sharing":{"facebook":true,"twitter":true,"google":false,"weibo":false,"instapaper":false,"vk":false,"all":["facebook","google","twitter","weibo","instapaper"]},"fontsettings":{"theme":"white","family":"sans","size":2},"theme-default":{"styles":{"website":"styles/website.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"},"showLevel":false}},"structure":{"langs":"LANGS.md","readme":"README.md","glossary":"GLOSSARY.md","summary":"SUMMARY.md"},"pdf":{"pageNumbers":true,"fontSize":12,"fontFamily":"Arial","paperSize":"a4","chapterMark":"pagebreak","pageBreaksBefore":"/","margin":{"right":62,"left":62,"top":56,"bottom":56}},"styles":{"website":"styles/website.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"}},"file":{"path":"README.md","mtime":"2017-09-02T06:51:36.000Z","type":"markdown"},"gitbook":{"version":"3.2.2","time":"2017-09-02T01:57:53.635Z"},"basePath":".","book":{"language":""}});
        });
    </script>
</div>

        
    <script src="gitbook/gitbook.js"></script>
    <script src="gitbook/theme.js"></script>
    
        
        <script src="gitbook/gitbook-plugin-livereload/plugin.js"></script>
        
    
        
        <script src="gitbook/gitbook-plugin-search/search-engine.js"></script>
        
    
        
        <script src="gitbook/gitbook-plugin-search/search.js"></script>
        
    
        
        <script src="gitbook/gitbook-plugin-lunr/lunr.min.js"></script>
        
    
        
        <script src="gitbook/gitbook-plugin-lunr/search-lunr.js"></script>
        
    
        
        <script src="gitbook/gitbook-plugin-sharing/buttons.js"></script>
        
    
        
        <script src="gitbook/gitbook-plugin-fontsettings/fontsettings.js"></script>
        
    

    </body>
</html>

